<html>

<script type="text/javascript" src="http://localhost:8000/ga_debug_unpacked.js"></script> 

<script type="text/javascript">

/*
  var DEBUG = true;

  var script_name = DEBUG ? "u/ga_debug.js" : "ga.js";

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-32744405-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    //ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/' + script_name;
    ga.src = "http://localhost:8000/ga_debug_unpacked.js";
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  */

</script>

<script>
  function main()
  {
  if(!_gaq)
    throw "GAQ not defined!";

  _gaq.push(['_setAccount', 'UA-32744405-1']);
  _gaq.push(['_trackPageview']);

    for(var i=0; i<10; i++)
      _gaq.push(['_trackEvent', 'button3', 'clicked']);
    console.log("Pushing event");
  }
</script>

  <body onload="main();">
    <p> Hello World </p>
  </body>
</html>
